package com.lei.zjs.vo;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

/**
 * 分页信息实体类
 * 
 * @author Spinacia
 * 
 */
public class PageBean {

	private Integer currentPage; // 当前页
	private Integer pageSize; // 每页的数据量
	private DetachedCriteria detachedCriteria; // 离线条件查询对象

	private Long total; // 共有多少条数据
	private List rows; // 分页的所有数据

	public Integer getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(Integer currentPage) {
		this.currentPage = currentPage;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List getRows() {
		return rows;
	}

	public void setRows(List rows) {
		this.rows = rows;
	}

	public DetachedCriteria getDetachedCriteria() {
		return detachedCriteria;
	}

	public void setDetachedCriteria(DetachedCriteria detachedCriteria) {
		this.detachedCriteria = detachedCriteria;
	}

}
